<template>
    <div>
        <van-list
          v-model="loading"
          :finished="finished"
          finished-text="没有更多了"
        >
          <van-cell v-for="item in searchTipsList" :key="item" :title="item" @click="cellClick(item)"/>
        </van-list>
    </div>
</template>

<script>
    export default {
      props:["searchTipsList"],
      data() {
        return {
          loading: false,
          finished: true,
        };
      },
      methods: {
        cellClick(val){
            // console.log(val);
            this.$emit("tagClick",val)
        }
      },
    };
</script>

<style>
</style>
